package address.service;

import common.model.user.Address;

import java.util.List;

public interface IAddressService {
    //根据用户id获取地址列表
    List<Address> list(Long userId);
    
    Address getDefault(Long uid);

    void create(Address address);

    void update(Address address);

    void delete(Long id);
}
